#region History

/* -------------------------------------------------------------------------------- 
 * Project Name: JobBoard Enterprise
 * Module: Jb.Web 
 * Name: Resume.cs
 * Purpose: ViewModel class for Resume
 *                   
 * Author: Md. Hassanur Rahman
 * Language: C# SDK Version 4.0
 * --------------------------------------------------------------------------------
 * Change History:
 * Version: 1.0    MHR  05/26/2013
 * Description: Initial Development
 * -------------------------------------------------------------------------------- */

#endregion

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;


namespace Jb.Web.ViewModels
{
    [Serializable]
	public class ResumeViewModel : BaseViewModel
	{	
        /// <summary>
		/// Gets or sets the ID
		/// </summary>
        public int ID { get; set;}
        
        [Required(ErrorMessage= "Please Select a Job Seeker")] 
        [Display(Name = "Job Seeker")] 
        public int JobSeekerID { get; set;}
            
        [Required(ErrorMessage= "Please Enter a Title")]
        [StringLength(250, ErrorMessage = "The {0} can be maximum {1} characters long.")]
        [Display(Name = "Title")] 
		public String Title	{ get; set; }
            
        //[Required(ErrorMessage= "Please Enter a File Name")]
        [StringLength(150, ErrorMessage = "The {0} can be maximum {1} characters long.")]
        [Display(Name = "File Name")] 
		public String FileName	{ get; set; }
            
        [Required(ErrorMessage= "Please Choose Is Default?")]         
        [Display(Name = "Is Default")] 
		public String IsDefault	{ get; set; }
            
        //[Required(ErrorMessage= "Please Enter a Downloaded Count")]
        [Display(Name = "Downloaded Count")] 
		public String DownloadedCount	{ get; set; }
            
        //[Required(ErrorMessage= "Please Enter a Appeared In Search")]
        [Display(Name = "Appeared In Search")] 
		public String AppearedInSearch	{ get; set; }

        //[Required(ErrorMessage= "Please Enter a File Name")]
        [StringLength(500, ErrorMessage = "The {0} can be maximum {1} characters long.")]
        [Display(Name = "Resume Snap Shot")] 
		public String SnapShot	{ get; set; }

        public String ModifiedOn { get; set; }
	}
}

